package com.campus.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 检查宿舍表
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CheckDorm对象", description="检查宿舍表")
public class CheckDorm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "分数")
    private Integer score;

    @ApiModelProperty(value = "补充信息")
    private String details;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "宿舍id")
    @TableField("dormId")
    private Integer dormid;

    @ApiModelProperty(value = "检查时间，当前时间精确到秒")
    @TableField("dateTime")
    private Date datetime;

    @ApiModelProperty(value = "检查人的id")
    @TableField("studentId")
    private Integer studentid;

    @ApiModelProperty(value = "是否标红 0未标红 1标红")
    @TableField("isRed")
    private Integer isred;


    @ApiModelProperty(value = "班级id")
    @TableField("classId")
    private Integer classId;

}
